package com.ctcnit.templatepro.di

import com.base.di.ActivityScope
import com.hb.trans.mvp.ui.fragment.*
import dagger.Module
import dagger.android.ContributesAndroidInjector

@Module
abstract class FragmentsModule {
    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindHomeFragment(): HomeFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindTransFragment(): ServeFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindNewsFragment(): NewsFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindUserCenterFragment(): UserCenterFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindBaseInfoFragment(): BaseInfoFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindTransInfoFragment(): TransInfosFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindNewListFragment(): NewListFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindSchoolInfoItem3Fragment(): SchoolInfoItemFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCompanyItemFragment(): CompanyItemFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCarItemFragment(): CarItemFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindCompanyDetailItemFragment(): CompanyDetailItemFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindAreaItemFragment(): AreaItemFragment

    @ActivityScope
    @ContributesAndroidInjector
    abstract fun bindTeacherItemFragment(): TeacherItemFragment


}

